/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.account;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.account.SysRolePermit;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2012-12-11
 */
public interface SysRolePermitService {
    /****************************************
     * Insert a instace of SysRolePermit
     ****************************************/
    void insert(SysRolePermit sysrolepermit) throws Exception;

    /****************************************
     * Insert instaces of SysRolePermit
     ****************************************/
    void batchInsert(List<?> sysrolepermitList) throws Exception;

    /****************************************
     * Delete a instace of SysRolePermit
     ****************************************/
    void delete(SysRolePermit sysrolepermit) throws Exception;

    /****************************************
     * Delete instaces of SysRolePermit
     ****************************************/
    void batchDelete(SysRolePermit sysrolepermit) throws Exception;

    /****************************************
     * Update a instace of SysRolePermit
     ****************************************/
    void update(SysRolePermit sysrolepermit) throws Exception;

    /****************************************
     * Query instaces of SysRolePermit
     ****************************************/
    List<BaseModel> queryAsList(SysRolePermit sysrolepermit) throws Exception;

    /****************************************
     * Query a instaces of SysRolePermit
     ****************************************/
    BaseModel queryAsObject(SysRolePermit sysrolepermit) throws Exception;
}
